package com.mybatispuls.springboot.entity.Excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class OrderExcel {

    @ExcelProperty("订单编号")
    private String id;

    @ExcelProperty("用户")
    private String username;

    @ExcelProperty("书名")
    private String bookname;

    @ExcelProperty("作者")
    private String author;

    @ExcelProperty("出版社")
    private String press;

    @ExcelProperty("价格")
    private BigDecimal price;

    @ExcelProperty("地址")
    private String address;

    @ExcelProperty("是否删除")
    private Boolean isDeleted;

    @ExcelProperty("创建时间")
    private Date gmtCreate;

    @ExcelProperty("修改时间")
    private Date gmtModified;
}
